﻿using Microsoft.FSharp.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Plotly.NET.StyleParam;

namespace BW.WMS.Application.Features.Product.Dtos
{
    /// <summary>
    /// 货品查询
    /// </summary>
    public class InputProductDtos
    {
       

       public int PageIndex { get; set; } = 1;


        public int PageSize { get; set; } = 10;

       

        /// <summary>
        /// 货品名称
        /// </summary>
        [MaxLength(200)]
        public string? ProductName { get; set; } = string.Empty;
        /// <summary>
        /// 单位
        /// </summary>
        [MaxLength(50)]
        public string? Unit { get; set; }

        /// <summary>
        /// 条码
        /// </summary>
        [MaxLength(100)]
        public string? BarCode { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [MaxLength(100)]
        public string? CreateBy { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 类型名称（来自产品类型表）
        /// </summary>
        [MaxLength(100)]
        public string? ProductTypeName { get; set; } = string.Empty;


    }
}
